package yuan.feign_client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @version: 1.0
 * @Description: TODO
 * @author: zZmH
 * @date: 2020/09/21 13:04
 */

@FeignClient(value = "discovery-provider",fallback = ProviderServiceFallback.class)
public interface ProviderService {


    @GetMapping("/provider/get")
    public String get();
}
